#ifndef MySelectionDialog_h
#define MySelectionDialog_h

#include <AknSelectionList.h>

class CAknSingleStyleListBox;
class CAknNavigationDecorator;

class CMySelectionListDialog: public CAknSelectionListDialog
{
public:
	~CMySelectionListDialog();
	void AddTitleL( const TDesC& aTitle );

protected:
	CMySelectionListDialog( TInt &aIndex, RArray< TUid >& aMenuItems, CDesCArray *aArray, MEikCommandObserver *aCommand );
	void LoadIconsL();
	void MarkCurrentItem();
	void NextPageL( TInt aScroll );
	TBool OkToExitL( TInt aButtonId );
	void PreLayoutDynInitL();

protected:
	CAknColumnListBox* iListBox;
	CDesCArray* iListBoxItems;
	CAknNavigationDecorator* iNaviTabs;

protected:
	RArray< TUid > iItemsUids;
	RArray< TUid > iSelectedItems;

	RArray< TUid >& iMenuItems;
};

#endif

